package persistencia.dominio; import persistencia.*;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author unascribed
 * @version 1.0
 */

public class SesionChat implements ClaseDominio {

  private Long id;
  private Chat chat = null;
  private Persona persona = null;
  private java.sql.Timestamp fin;
  private java.sql.Timestamp inicio;

  public  SesionChat() {
    id=OidGenerator.getNewId();
  }

  public void setId(Long id) {
    this.id = id;
  }
  public Long getId() {
    return id;
  }
  public void setInicio(java.sql.Timestamp inicio) {
    this.inicio = inicio;
  }
  public java.sql.Timestamp getInicio() {
    return inicio;
  }
  public void setFin(java.sql.Timestamp fin) {
    this.fin = fin;
  }
  public java.sql.Timestamp getFin() {
    return fin;
  }
  public void setChat(Chat chat) {
    this.chat = chat;
  }
  public Chat getChat() {
    return chat;
  }
  public void setPersona(Persona persona) {
    this.persona = persona;
  }
  public Persona getPersona() {
    return persona;
  }
}